<div id="middle">
	<div id="container">
	</div>	
	<div id="container">
		<div id="sideLeftMasters">
			<div id="sidebar-menu-masters">
				<div class="box42">
					<h1>Наші майстри</h1>
					<ul>
					<?php foreach ($this -> FilterMenu as $subMenu) {?><?php //print '<pre>'; var_dump($subMenu); die();?>
						<?php $selected = $this->subId == $subMenu->id;?>
						<li class="<?php if ($selected) print 'active'?>"><a href="<?php print $subMenu->uri?>"><?php print $subMenu->label?></a></li>
					<?php }?>
					</ul>
				</div>
			</div>
		</div>
		<div id="content-text">
			<div class="text">
				<div class="text">			
					<div class="entry">
						<table class="masters">
							<tbody>
								<?php foreach( $this -> Authors as $Author ) { ?>
									<tr>
										<td>
											<a href="<?php print $Author -> Url() ?>">
												<img alt="master" src="<?php print $Author -> AvatarUrl() ?>">
											</a>
										</td>
										<td> 
											<div class="MasterName">
												<h3><a href="<?php print $Author -> Url() ?>"><?php print $Author -> Name() ?></a></h3><br>
												<?php print "{$Author -> Location()}, {$Author -> Profession()}" ?>
											</div>
											<div class="ShowWork"><a href="<?php print $Author -> AllWorksUrl() ?>">Подивитись роботи</a></div>
											<p><?php print $Author -> Description() ?></p>
										</td>
									</tr>
								<?php } ?>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
		<div id="sideRight"></div>
	</div>	
</div>